set term postscript enhanced color
set output "fig1.eps"
set size .5,.5
unset log                              # remove any log-scaling
unset label                            # remove any previous labels
set xtic auto                          # set xtics automatically
set ytic auto                          # set ytics automatically
set title "KS-statistic"
set xlabel "values"
set ylabel "cumulative probability"
set arrow from 0.0,.16 to 0.0,.5
set arrow from 0.0,.5 to 0.0,.16
set xr [-2.0:2.0]
set yr [0:1]
plot "cdf.dat" using 1:2 notitle with lines, "ecdf.dat" using 1:2 notitle with steps